package com.jky.trial.entity;
//

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jky.trial.common.QueryParam;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Relation extends QueryParam implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private Integer targetId;
    private Integer sourceId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;
    private String remark;
    private Integer type;
    private Integer comId; //公司
    private Integer depId; //部门，业务板块子公司
    private Integer busId; //业务板块,分支机构
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateAt;
}